<!DOCTYPE HTML>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>下拉菜单</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="style.css">
    <link rel="stylesheet" href="css/font-awesome.min.css">
</head>

<body>
    <p>，你的 button 元素仅与它所包含的文本一样宽。通过使其成为块级元素，你的按钮将会伸展并填满页面整个水平空间，任何在它之下的元素都会跟着浮动至该区块的下一行。</p>
    <button class="btn btn-block">like</button>
    <button class="btn">like</button>
    <span class="glyphicon glyphicon-search" aria-hidden="true"></span>

    <button class="btn btn-block btn-primary"><i class="fa fa-thumbs-up"></i> Like</button>
    <button class="btn btn-block btn-info"><i class="fa fa-info-circle"></i>Info</button>
    <button class="btn btn-block btn-danger"><i class="fa fa-trash"></i> Delete</button>


    <div class="container-fluid">
        <h3 class="text-primary text-center">jQuery Playground</h3>
        <div class="row">
            <div class="col-xs-6">
                <h4>#left-well</h4>
                <div class="well" id="left-well">
                    <button class="btn btn-default target" id="target1">#target1</button>
                    <button class="btn btn-default target" id="target2">#target2</button>
                    <button class="btn btn-default target" id="target3">#target3</button>
                </div>
            </div>
            <div class="col-xs-6">
                <h4>#right-well</h4>
                <div class="well" id="right-well">
                    <button class="btn btn-default target" id="target4">#target4</button>
                    <button class="btn btn-default target" id="target5">#target5</button>
                    <button class="btn btn-default target" id="target6">#target6</button>
                </div>
            </div>
        </div>
    </div>


    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            $("button").addClass("animated");
            $(".btn").addClass("shake");
            $("#target1").addClass("btn-primary");
            $("button").removeClass("btn-default");
            $("#target1").css("color", "red");
            $("#target1").prop("disabled", "true");
            $("#target4").html("<em>#target4</em>");
            $("#target4").text("<em>#target4</em>");
            $("#target4").remove();
            $("#target2").appendTo("#right-well");
            $("#target5").clone().appendTo("#left-well");
            $("#target1").parent().css("background-color", "red");
            $("#right-well").children().css("color", "orange");
            $(".target:nth-child(2)").addClass("animated bounce");
            $(".target:even").addClass("animated shake");
            $(".target:odd").addClass("animated shake");
            $("body").addClass("animated hinge");
        });
    </script>


</body>

</html>